package com.rzl.expense.expense.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.rzl.expense.expense.mapper.EleVerificationMapper;
import com.rzl.expense.expense.domain.EleVerification;
import com.rzl.expense.expense.service.IEleVerificationService;

/**
 * 电费核销单Service业务层处理
 * 
 * @author expense
 * @date 2024-11-30
 */
@Service
public class EleVerificationServiceImpl implements IEleVerificationService 
{
    @Autowired
    private EleVerificationMapper eleVerificationMapper;

    /**
     * 查询电费核销单
     * 
     * @param verificationId 电费核销单主键
     * @return 电费核销单
     */
    @Override
    public EleVerification selectEleVerificationByVerificationId(String verificationId)
    {
        return eleVerificationMapper.selectEleVerificationByVerificationId(verificationId);
    }

    /**
     * 查询电费核销单列表
     * 
     * @param eleVerification 电费核销单
     * @return 电费核销单
     */
    @Override
    public List<EleVerification> selectEleVerificationList(EleVerification eleVerification)
    {
        return eleVerificationMapper.selectEleVerificationList(eleVerification);
    }

    /**
     * 新增电费核销单
     * 
     * @param eleVerification 电费核销单
     * @return 结果
     */
    @Override
    public int insertEleVerification(EleVerification eleVerification)
    {
        return eleVerificationMapper.insertEleVerification(eleVerification);
    }

    /**
     * 修改电费核销单
     * 
     * @param eleVerification 电费核销单
     * @return 结果
     */
    @Override
    public int updateEleVerification(EleVerification eleVerification)
    {
        return eleVerificationMapper.updateEleVerification(eleVerification);
    }

    /**
     * 批量删除电费核销单
     * 
     * @param verificationIds 需要删除的电费核销单主键
     * @return 结果
     */
    @Override
    public int deleteEleVerificationByVerificationIds(String[] verificationIds)
    {
        return eleVerificationMapper.deleteEleVerificationByVerificationIds(verificationIds);
    }

    /**
     * 删除电费核销单信息
     * 
     * @param verificationId 电费核销单主键
     * @return 结果
     */
    @Override
    public int deleteEleVerification()
    {
        return eleVerificationMapper.deleteEleVerification();
    }




    @Override
    public void batchEleVerification(List<EleVerification> list)
    {

         eleVerificationMapper.batchEleVerification(list);
    }


}
